<?php

namespace app\api\validate;

use think\Validate;

class SendSmsValidate extends Validate
{
    protected $rule = [
        'phone'   => 'require|mobile',
    ];

    protected $message  =   [
        'phone.require' => '请提交手机号',
        'phone.mobile'  => '手机号码不合法,请检查后输入',
    ];
}